<?php get_header();?>
<!-- Dung cho trang tin tuc va trang dich vu -->
<body>
<div id="container">
	<!-- baner -->
	<?php include TEMPLATEPATH.'/views/view-header.php';?>
	<!-- end banner-->
	<!-- menu -->
	<?php include TEMPLATEPATH.'/views/view-menu.php';?>
	<div class="body_content">
	<div id="content">
		
		<!-- left_comlumds -->
		<?php get_sidebar();?>
		<!--end left_comlumds -->
		<!-- right_comlumds -->
		<div class="right_comlumds">
			<!-- right_box_1 -->
			<div class="box_1_right">
				<div class="title_right">
					<div class="right_title_r3">
						<img src="<?php echo WP_MYSITE_TEMPLATE_URL;?>/images/icon_title.jpg" alt="" />
						<?php bt_breadcrumb();?>
					</div>
				</div>
				<div class="content_about">
					<div class="content_sp">
						<?php 
						$number_post = 9;
						if(is_page('dich-vu'))
							$dichvu = db_query_post_in_posttype_paged($number_post, 'services', $wpdb->prefix.'display', 'display', $paged);
						else if(is_page('tin-tuc'))
							$dichvu = db_query_post_in_posttype_paged($number_post, 'news-event', $wpdb->prefix.'display', 'display', $paged);	
						query_posts($dichvu);
						$mycount = count(query_posts($dichvu));
						include TEMPLATEPATH.'/views/loop-tin.php';
						?>
						
						
					</div>
					
					<?php 
					if($mycount>$number_post)
					{
						?>
						<div class="box_icon">
							<div class="my-paging">
							<?php bt_paginate();?>
							</div>
						</div>
						<?php 	
					}
					?>
				</div>
			</div>
			<!-- end right_box_1 -->
			
		</div>
		<!-- right_comlumds -->
	</div>
	<!-- end content-->
</div>
	<!-- end content-->
	<?php get_footer();?>
